/*
 * Trilogy instant messaging system
 * Nathan Reitz, Aaron Mertz, Dave Clark
 * 11/14/2007
*/
package edu.psu.ist.ist311.trilogyIM;

public class Message {
	
	String msg;
	String name;
	
	//constructor
	public Message(String message, String name)
	{
		msg = message;
		this.name = name;
	}

	//returns what is to be printed on the screen
	public String returnMessage(){
		return name + ": " + msg + "\n";
	}
}
